package com.sjy.project.ent.data.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sjy.framework.aspectj.lang.annotation.Excel;
import com.sjy.framework.web.domain.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 企业档案对象 ent_data
 * 
 * @author ljb
 * @date 2022-06-04
 */
@ApiModel(value="EntData对象", description="企业档案")
public class EntData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    @ApiModelProperty(value = "${comment}")
    private Long id;

    /** 公司名称 */
    @Excel(name = "公司名称")
    @ApiModelProperty(value = "公司名称")
    private String entName;

    /** 所属乡镇 */
    @Excel(name = "所属乡镇")
    @ApiModelProperty(value = "所属乡镇")
    private String town;

    /** 法定代表人 */
    @Excel(name = "法定代表人")
    @ApiModelProperty(value = "法定代表人")
    private String frname;

    /** 注册资本 */
    @Excel(name = "注册资本")
    @ApiModelProperty(value = "注册资本")
    private String regcap;

    /** 注册号 */
    @Excel(name = "注册号")
    @ApiModelProperty(value = "注册号")
    private String regNo;

    /** 统代 */
    @Excel(name = "统代")
    @ApiModelProperty(value = "统代")
    private String creditCode;

    /** 实际办公地址 */
    @Excel(name = "实际办公地址")
    @ApiModelProperty(value = "实际办公地址")
    private String address;

    /** 成立日期 */
    @Excel(name = "成立日期")
    @ApiModelProperty(value = "成立日期")
    private String esdate;

    /** 经营范围 */
    @Excel(name = "经营范围")
    @ApiModelProperty(value = "经营范围")
    private String operateScope;

    /** 省份 */
    @Excel(name = "省份")
    @ApiModelProperty(value = "省份")
    private String province;

    /** 城市 */
    @Excel(name = "城市")
    @ApiModelProperty(value = "城市")
    private String city;

    /** 县 */
    @Excel(name = "县")
    @ApiModelProperty(value = "县")
    private String county;

    /** 镇街 */
    @Excel(name = "镇街")
    @ApiModelProperty(value = "镇街")
    private String street;

    /** 行业门类 */
    @Excel(name = "行业门类")
    @ApiModelProperty(value = "行业门类")
    private String industryphy;

    /** 注册资本币种 */
    @Excel(name = "注册资本币种")
    @ApiModelProperty(value = "注册资本币种")
    private String regcapcurName;

    /** 国民经济代码 */
    @Excel(name = "国民经济代码")
    @ApiModelProperty(value = "国民经济代码")
    private String industryco;

    /** 国名经济行业 */
    @Excel(name = "国名经济行业")
    @ApiModelProperty(value = "国名经济行业")
    private String industrycoName;

    /** 数据来源 */
    @Excel(name = "数据来源")
    @ApiModelProperty(value = "数据来源")
    private String dataFrom;

    /** 企业注册时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "企业注册时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "企业注册时间")
    private Date registerTime;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date updatedTime;

    /** 创建人 */
    @Excel(name = "创建人")
    @ApiModelProperty(value = "创建人")
    private String createdBy;

    /** 更新人 */
    @Excel(name = "更新人")
    @ApiModelProperty(value = "更新人")
    private String updatedBy;

    /** 历史导入记录id */
    @Excel(name = "历史导入记录id")
    @ApiModelProperty(value = "历史导入记录id")
    private Integer importHistroyId;

    /** 1-导入数据 2-填报数据 */
    @Excel(name = "1-导入数据 2-填报数据")
    @ApiModelProperty(value = "1-导入数据 2-填报数据")
    private Integer importType;

    /** 联系电话 */
    @Excel(name = "联系电话")
    @ApiModelProperty(value = "联系电话")
    private String contactTel;

    /** 是否参评 0参评，1不参评 */
    @Excel(name = "是否参评 0参评，1不参评")
    @ApiModelProperty(value = "是否参评 0参评，1不参评")
    private Integer joinAssess;

    /** 企业规模:0-规上,1-规下 */
    @Excel(name = "企业规模:0-规上,1-规下")
    @ApiModelProperty(value = "企业规模:0-规上,1-规下")
    private Integer entRule;

    /** 数据年份 */
    @Excel(name = "数据年份")
    @ApiModelProperty(value = "数据年份")
    private Integer dataYear;

    /** 行业一级代码 */
    @Excel(name = "行业一级代码")
    @ApiModelProperty(value = "行业一级代码")
    private String industryFirstCode;

    /** 行业二级代码 */
    @Excel(name = "行业二级代码")
    @ApiModelProperty(value = "行业二级代码")
    private String industryCode;

    /** 行业三级代码 */
    @Excel(name = "行业三级代码")
    @ApiModelProperty(value = "行业三级代码")
    private String industry;

    /** 行业名称 */
    @Excel(name = "行业名称")
    @ApiModelProperty(value = "行业名称")
    private String industryName;

    /** 座机 */
    @Excel(name = "座机")
    @ApiModelProperty(value = "座机")
    private String entTel;

    /** 企业简介 */
    @Excel(name = "企业简介")
    @ApiModelProperty(value = "企业简介")
    private String entProfile;

    /** 经度 */
    @Excel(name = "经度")
    @ApiModelProperty(value = "经度")
    private String lng;

    /** 纬度 */
    @Excel(name = "纬度")
    @ApiModelProperty(value = "纬度")
    private String lat;

    /** 注册地址 */
    @Excel(name = "注册地址")
    @ApiModelProperty(value = "注册地址")
    private String regAddress;

    /** 企业二级类型：1：国有企业，2：民营企业,3：外商独资企业，4: 合资企业 5：港澳台企业 */
    @Excel(name = "企业二级类型：1：国有企业，2：民营企业,3：外商独资企业，4: 合资企业 5：港澳台企业")
    @ApiModelProperty(value = "企业二级类型：1：国有企业，2：民营企业,3：外商独资企业，4: 合资企业 5：港澳台企业")
    private Integer entSubType;

    /** 企业一级类型：1：企业 2：个体 4：社会组织 */
    @Excel(name = "企业一级类型：1：企业 2：个体 4：社会组织")
    @ApiModelProperty(value = "企业一级类型：1：企业 2：个体 4：社会组织")
    private Integer entType;

    /** 用地面积(亩) */
    @Excel(name = "用地面积(亩)")
    @ApiModelProperty(value = "用地面积(亩)")
    private BigDecimal landUseArea;

    /** 经营状态 存续、在业、吊销、注销、迁入、迁出、停业、清算 */
    @Excel(name = "经营状态 存续、在业、吊销、注销、迁入、迁出、停业、清算")
    @ApiModelProperty(value = "经营状态 存续、在业、吊销、注销、迁入、迁出、停业、清算")
    private String operateStatus;

    /** 用电户号 */
    @Excel(name = "用电户号")
    @ApiModelProperty(value = "用电户号")
    private String ammeterNum;


    /** 信息是否确认 1是0否 */
    @ApiModelProperty(value = "信息是否确认 1是0否")
    @Excel(name = "信息是否确", readConverterExp = "0=否,1=是")
    private Integer confirmFlag;

    /** 信息确认时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "信息确认时间")
    @Excel(name = "信息确认时间")
    private Date confirmTime;

    /** 0保存  1提交 */
    //@Excel(name = "0保存  1提交")
    @ApiModelProperty(value = "0保存  1提交")
    @Excel(name = "是否提交", readConverterExp = "0=保存,1=提交")
    private Integer saveOrSubmit;

    /** 信息确认时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提交时间")
    @ApiModelProperty(value = "信息提交时间")
    private Date submitTime;
    
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setEntName(String entName)
    {
        this.entName = entName;
    }

    public String getEntName()
    {
        return entName;
    }
    public void setTown(String town)
    {
        this.town = town;
    }

    public String getTown()
    {
        return town;
    }
    public void setFrname(String frname)
    {
        this.frname = frname;
    }

    public String getFrname()
    {
        return frname;
    }
    public void setRegcap(String regcap)
    {
        this.regcap = regcap;
    }

    public String getRegcap()
    {
        return regcap;
    }
    public void setRegNo(String regNo)
    {
        this.regNo = regNo;
    }

    public String getRegNo()
    {
        return regNo;
    }
    public void setCreditCode(String creditCode)
    {
        this.creditCode = creditCode;
    }

    public String getCreditCode()
    {
        return creditCode;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setEsdate(String esdate)
    {
        this.esdate = esdate;
    }

    public String getEsdate()
    {
        return esdate;
    }
    public void setOperateScope(String operateScope)
    {
        this.operateScope = operateScope;
    }

    public String getOperateScope()
    {
        return operateScope;
    }
    public void setProvince(String province)
    {
        this.province = province;
    }

    public String getProvince()
    {
        return province;
    }
    public void setCity(String city)
    {
        this.city = city;
    }

    public String getCity()
    {
        return city;
    }
    public void setCounty(String county)
    {
        this.county = county;
    }

    public String getCounty()
    {
        return county;
    }
    public void setStreet(String street)
    {
        this.street = street;
    }

    public String getStreet()
    {
        return street;
    }
    public void setIndustryphy(String industryphy)
    {
        this.industryphy = industryphy;
    }

    public String getIndustryphy()
    {
        return industryphy;
    }
    public void setRegcapcurName(String regcapcurName)
    {
        this.regcapcurName = regcapcurName;
    }

    public String getRegcapcurName()
    {
        return regcapcurName;
    }
    public void setIndustryco(String industryco)
    {
        this.industryco = industryco;
    }

    public String getIndustryco()
    {
        return industryco;
    }
    public void setIndustrycoName(String industrycoName)
    {
        this.industrycoName = industrycoName;
    }

    public String getIndustrycoName()
    {
        return industrycoName;
    }
    public void setDataFrom(String dataFrom)
    {
        this.dataFrom = dataFrom;
    }

    public String getDataFrom()
    {
        return dataFrom;
    }
    public void setRegisterTime(Date registerTime)
    {
        this.registerTime = registerTime;
    }

    public Date getRegisterTime()
    {
        return registerTime;
    }
    public void setCreatedTime(Date createdTime)
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime()
    {
        return createdTime;
    }
    public void setUpdatedTime(Date updatedTime)
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime()
    {
        return updatedTime;
    }
    public void setCreatedBy(String createdBy)
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy()
    {
        return createdBy;
    }
    public void setUpdatedBy(String updatedBy)
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy()
    {
        return updatedBy;
    }
    public void setImportHistroyId(Integer importHistroyId)
    {
        this.importHistroyId = importHistroyId;
    }

    public Integer getImportHistroyId()
    {
        return importHistroyId;
    }
    public void setImportType(Integer importType)
    {
        this.importType = importType;
    }

    public Integer getImportType()
    {
        return importType;
    }
    public void setContactTel(String contactTel)
    {
        this.contactTel = contactTel;
    }

    public String getContactTel()
    {
        return contactTel;
    }
    public void setJoinAssess(Integer joinAssess)
    {
        this.joinAssess = joinAssess;
    }

    public Integer getJoinAssess()
    {
        return joinAssess;
    }
    public void setEntRule(Integer entRule)
    {
        this.entRule = entRule;
    }

    public Integer getEntRule()
    {
        return entRule;
    }
    public void setDataYear(Integer dataYear)
    {
        this.dataYear = dataYear;
    }

    public Integer getDataYear()
    {
        return dataYear;
    }
    public void setIndustryFirstCode(String industryFirstCode)
    {
        this.industryFirstCode = industryFirstCode;
    }

    public String getIndustryFirstCode()
    {
        return industryFirstCode;
    }
    public void setIndustryCode(String industryCode)
    {
        this.industryCode = industryCode;
    }

    public String getIndustryCode()
    {
        return industryCode;
    }
    public void setIndustry(String industry)
    {
        this.industry = industry;
    }

    public String getIndustry()
    {
        return industry;
    }
    public void setIndustryName(String industryName)
    {
        this.industryName = industryName;
    }

    public String getIndustryName()
    {
        return industryName;
    }
    public void setEntTel(String entTel)
    {
        this.entTel = entTel;
    }

    public String getEntTel()
    {
        return entTel;
    }
    public void setEntProfile(String entProfile)
    {
        this.entProfile = entProfile;
    }

    public String getEntProfile()
    {
        return entProfile;
    }
    public void setLng(String lng)
    {
        this.lng = lng;
    }

    public String getLng()
    {
        return lng;
    }
    public void setLat(String lat)
    {
        this.lat = lat;
    }

    public String getLat()
    {
        return lat;
    }
    public void setRegAddress(String regAddress)
    {
        this.regAddress = regAddress;
    }

    public String getRegAddress()
    {
        return regAddress;
    }
    public void setEntSubType(Integer entSubType)
    {
        this.entSubType = entSubType;
    }

    public Integer getEntSubType()
    {
        return entSubType;
    }
    public void setEntType(Integer entType)
    {
        this.entType = entType;
    }

    public Integer getEntType()
    {
        return entType;
    }
    public void setLandUseArea(BigDecimal landUseArea)
    {
        this.landUseArea = landUseArea;
    }

    public BigDecimal getLandUseArea()
    {
        return landUseArea;
    }
    public void setOperateStatus(String operateStatus)
    {
        this.operateStatus = operateStatus;
    }

    public String getOperateStatus()
    {
        return operateStatus;
    }
    public void setAmmeterNum(String ammeterNum)
    {
        this.ammeterNum = ammeterNum;
    }

    public String getAmmeterNum()
    {
        return ammeterNum;
    }

    public void setConfirmFlag(Integer confirmFlag)
    {
        this.confirmFlag = confirmFlag;
    }

    public Integer getConfirmFlag()
    {
        return confirmFlag;
    }
    public void setConfirmTime(Date confirmTime)
    {
        this.confirmTime = confirmTime;
    }

    public Date getConfirmTime()
    {
        return confirmTime;
    }
    
    public Integer getSaveOrSubmit() {
		return saveOrSubmit;
	}

	public void setSaveOrSubmit(Integer saveOrSubmit) {
		this.saveOrSubmit = saveOrSubmit;
	}

	public Date getSubmitTime() {
		return submitTime;
	}

	public void setSubmitTime(Date submitTime) {
		this.submitTime = submitTime;
	}

	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("entName", getEntName())
            .append("town", getTown())
            .append("frname", getFrname())
            .append("regcap", getRegcap())
            .append("regNo", getRegNo())
            .append("creditCode", getCreditCode())
            .append("address", getAddress())
            .append("esdate", getEsdate())
            .append("operateScope", getOperateScope())
            .append("province", getProvince())
            .append("city", getCity())
            .append("county", getCounty())
            .append("street", getStreet())
            .append("industryphy", getIndustryphy())
            .append("regcapcurName", getRegcapcurName())
            .append("industryco", getIndustryco())
            .append("industrycoName", getIndustrycoName())
            .append("dataFrom", getDataFrom())
            .append("registerTime", getRegisterTime())
            .append("createdTime", getCreatedTime())
            .append("updatedTime", getUpdatedTime())
            .append("createdBy", getCreatedBy())
            .append("updatedBy", getUpdatedBy())
            .append("importHistroyId", getImportHistroyId())
            .append("importType", getImportType())
            .append("contactTel", getContactTel())
            .append("joinAssess", getJoinAssess())
            .append("entRule", getEntRule())
            .append("dataYear", getDataYear())
            .append("industryFirstCode", getIndustryFirstCode())
            .append("industryCode", getIndustryCode())
            .append("industry", getIndustry())
            .append("industryName", getIndustryName())
            .append("entTel", getEntTel())
            .append("entProfile", getEntProfile())
            .append("lng", getLng())
            .append("lat", getLat())
            .append("regAddress", getRegAddress())
            .append("entSubType", getEntSubType())
            .append("entType", getEntType())
            .append("landUseArea", getLandUseArea())
            .append("operateStatus", getOperateStatus())
            .append("ammeterNum", getAmmeterNum())
            .toString();
    }
}
